package com.dataseek.iot.device.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 报警日志
 */
@Data
@TableName(value = "tenant.alarm_log")
public class AlarmLog {
    @TableField(value = "tenant_code")
    private String tenantCode;
    //用户id标识
    @TableId(value = "alarmid")
    private Long alarmId;

    @TableField(value = "alarm_code")
    private String alarmCode;

    @TableField(value = "alarm_value")
    private String alarmValue;

    @TableField(value = "alarm_type")
    private int alarmType;

    @TableField(value = "isdeal")
    private int isDeal;

    @TableField(value = "device_code")
    private String deviceCode;

    @TableField(value = "alarm_time")
    private String alarmTime;

    @TableField(value = "factory_code")
    private String factoryCode;

    @TableField(value = "work_line_code")
    private String workLineCode;

    @TableField(value = "jar_code")
    private String jarCode;

    @TableField(value = "remark")
    private String remark;
}
